/*
 * Copyright (c) 2024-2025 LTC-CN. All rights reserved.
 * <p>
 * This file is part of the ltc-cn-springboot project.
 * <p>
 * ltc-cn-springboot is distributed under the terms of the MIT License.
 * For details, see the accompanying LICENSE file or visit:
 * <a href="https://www.ltc-cn.top/projects">...</a>
 */

package top.ltc_cn.minecraft_manager.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "server.http-config")
public class HttpProperties {

    // Getters and Setters
    private boolean enableHttps = false;
    private Integer httpsPort = 8443;
    private Integer httpPort; // 默认为 null，表示同tomcat端口
    private boolean onlyHttps = false; // 是否强制使用 HTTPS

}

